
import org.w3c.dom.ls.LSOutput;

class A<T> {
    T value;

    A(T value) {
        this.value=value;
    }

    T get() {
        return value;
    }
}
public class generics {
    public static void main(String[] args) {

        A<Integer> a=new A<>(10);
        System.out.println(a.get());

        A<String> b=new A<>("哈吉奥");
        System.out.println(b.get());
    }

}